import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
import axios from "axios";
import Moment from "moment";

Vue.prototype.axios=axios;
//挂载axios
Vue.prototype.$http=axios;
//设置访问根路径
axios.defaults.baseURL="http://localhost:9000";
Vue.config.productionTip = false

Vue.filter('fomateDate',function (value) {
  return Moment(value).format('YYYY-MM-DD')
});
new Vue({
  router,
  render: h => h(App)
}).$mount('#app');
